{%include file="header.html"%}
<style>
input {	width: 240px;}
textarea {	width: 350px;	height: 100px;}
tr {height: 48px; }
th {background-color:#f3f3f3; font-size:18px;}
td {font-size:14px;}
</style>
<body>
<div class="fixed-bar">
  <div class="item-title">
    <h3>退货单操作：查看</h3>
    <div style="background:rgba(251,112,45,1);width:125px;height:40px;float:right;text-align:center;border-radius:5px;">
      <a href="order.php?act=back_list">
        <h5 style="padding:10px;color:#fff;">退货单列表</h5>
      </a>
    </div>
  </div> 
</div>
<div class="fixed_bottom">
	<div class="list-div" style="margin-bottom: 5px">
	  <table width="100%" cellpadding="3" cellspacing="1">
  		<tr>
        <th colspan="4">基本设置</th>
  		</tr>
  		<tr>
    	   <td><div align="right"><strong>退货时间：</strong></div></td>
    	   <td>{%$back_order.return_time|date_format:'%Y-%m-%d %H:%M:%I'%}</td>
    	   <td><div align="right"><strong>发货单号：</strong></div></td>
    	   <td colspan="3">{%$back_order.invoice_no%}</td>
  		</tr>
  		<tr>
    	   <td><div align="right"><strong>发货单流水号：</strong></div></td>
    	   <td>{%$back_order.delivery_sn%}</td>
    	   <td><div align="right"><strong>发货时间：</strong></div></td>
    	   <td>{%$back_order.update_time|date_format:'%Y-%m-%d %H:%M:%I'%}</td>
  		</tr>
  		<tr>
    	   <td width="18%"><div align="right"><strong>订单号：</strong></div></td>
   		   <td width="34%">{%$back_order.order_sn%}</td>
    	   <td><div align="right"><strong>下单时间：</strong></div></td>
    	   <td>{%$back_order.add_time|date_format:'%Y-%m-%d %H:%M:%I'%}</td>
  		</tr>
  		<tr>
    	   <td><div align="right"><strong>购货人：</strong></div></td>
    	   <td>{%$back_order.user_name|default:$lang.anonymous%}</td>
    	   <td><div align="right"><strong>缺货处理：</strong></div></td>
    	   <td>{%$back_order.how_oos%}</td>
  		</tr>
  		<tr>
    	   <td><div align="right"><strong>配送方式：</strong></div></td>
    	   <td>{%$back_order.shipping_name%}</td>
    	   <td><div align="right"><strong>配送费用：</strong></div></td>
    	   <td>{%$back_order.shipping_fee%}</td>
  		</tr>
  		<tr>
    	   <td><div align="right"><strong>是否保价：</strong></div></td>
    	   <td>{%if $back_order.insure_yn==1%}否{%else%}是{%/if%}</td>
    	   <td><div align="right"><strong>保价费用：</strong></div></td>
    	   <td>{%$back_order.insure_fee|default:0.00%}</td>
  		</tr>
  		<tr>
    	   <th colspan="4">收货人信息</th>
    	</tr>
  		<tr>
    	   <td><div align="right"><strong>收货人：</strong></div></td>
    	   <td>{%$back_order.consignee|escape%}</td>
    	   <td><div align="right"><strong>电子邮件：</strong></div></td>
    	   <td>{%$back_order.email%}</td>
  		</tr>
  		<tr>
    	   <td><div align="right"><strong>地址：</strong></div></td>
    	   <td>{%$back_order.region%}{%$back_order.address|escape%}</td>
    	   <td><div align="right"><strong>邮编：</strong></div></td>
    	   <td>{%$back_order.zipcode|escape%}</td>
  		</tr>
  		<tr>
    	   <td><div align="right"><strong>电话：</strong></div></td>
    	   <td>{%$back_order.tel%}</td>
    	   <td><div align="right"><strong>手机：</strong></div></td>
    	   <td>{%$back_order.mobile|escape%}</td>
  		</tr>
  		<tr>
    	   <td><div align="right"><strong>标志性建筑：</strong></div></td>
    	   <td>{%$back_order.sign_building|escape%}</td>
    	   <td><div align="right"><strong>最佳送货时间：</strong></div></td>
    	   <td>{%$back_order.best_time|escape%}</td>
  		</tr>
  		<tr>
    	   <td><div align="right"><strong>客户给商家的留言：</strong></div></td>
    	   <td colspan="3">{%$back_order.postscript%}</td>
  		</tr>
	  </table>
  </div>
  <div class="list-div" style="margin-bottom: 5px">
    <table width="100%" cellpadding="3" cellspacing="1">
      <tr>
        <th colspan="7" scope="col">商品信息</th>
      </tr>
      <tr>
        <td scope="col"><div align="center"><strong>商品名称</strong></div></td>
        <td scope="col"><div align="center"><strong>货号</strong></div></td>
        <td scope="col"><div align="center"><strong>货品号</strong></div></td>
        <td scope="col"><div align="center"><strong>属性</strong></div></td>
        <td scope="col"><div align="center"><strong>发货数量</strong></div></td>
      </tr>
 	      {%foreach from=$goods_lsit item=goods key=k%}
      <tr>
        <td><div style="text-align:center">{%$goods.goods_name%}</div></td>
        <td><div style="text-align:center">{%$goods.goods_sn%}</div></td>
        <td><div style="text-align:center">{%$goods.product_sn%}</div></td>
        <td><div style="text-align:center">{%$goods.goods_attr%}</div></td>
        <td><div style="text-align:center">{%$goods.send_number%}</div></td>
      </tr>
        {%/foreach%}
    </table>
  </div>
  <div class="list-div" style="margin-bottom: 5px">
    <table  width="100%"cellpadding="3" cellspacing="1">
      <tr>
        <th colspan="6">操作信息</th>
      </tr>
      <tr>
        <td><div align="right"><strong>操作者：</strong></div></td>
        <td>{%$back_order.action_user%}</td>
        <td><div ><strong>办事处：</strong></div></td>
        <td>{%$back_order.agency_name%}</td>
      </tr>
    </table>
  </div>
</div>
</body>